<template>
  <AddTemplace :id="proId"></AddTemplace>
</template>

<script setup name="examineTemplace">
import AddTemplace from '@/views/salesManage/contractManage/addTemplate/index'
import { useRoute } from 'vue-router'
const route = useRoute()
const proId = ref('')
watch(
  () => route.query.id,
  val => {
    if (route.query.id) {
      console.log(route.query.id)
      proId.value = route.query.id.toString()
    }
  },
  {
    immediate: true
  }
)
</script>

<style lang="scss" scoped></style>
